package com.acme.bankapp.service.bank;

import com.acme.bankapp.domain.bank.Client;
import com.acme.bankapp.service.email.EmailService;

public class EmailNotificationListener implements ClientRegistrationListener {
	private static final long serialVersionUID = -3003678824271368525L;

	public void onClientAdded(Client c) {
		EmailService.getEmailService().sendNotificationEmail(c);
	}
}
